import React, { Component } from 'react'
import Authorized, {havePermission} from '@/utils/Authorized';

const { Secured } = Authorized;

const errorPage = <div>呵呵哒</div>

@Secured(havePermission('admin'))
export default class TestAuth1 extends Component {

    render() {
        console.log(Secured)
        return (
            <div>
                权限测试1
            </div>
        )
    }
}
